<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var fruits = ["Banana", "Orange", "Apple", "Mango"];
     var s=fruits.join();
     console.log("s:"+s);

</script>
</body>
</html>